package com.kxmall.user.domain.bo;

import com.kxmall.common.core.domain.BaseEntity;
import com.kxmall.common.core.validate.EditGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;


/**
 * 客户收藏业务对象 kx_user_collect
 */

@Data
@ApiModel("客户收藏业务对象")
@EqualsAndHashCode(callSuper = true)
public class KxUserCollectBo extends BaseEntity {

    /**
     * 客户收藏ID
     */
    @ApiModelProperty(value = "客户收藏ID")
    @NotNull(message = "客户收藏ID主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 用户ID
     */
    @ApiModelProperty(value = "用户ID")
    private Long userId;

    /**
     * 商品ID
     */
    @ApiModelProperty(value = "商品ID")
    private Long productId;


}
